//
//  ShinnyHollywoodGalleryController.h
//  Gallery
//
//  Created by Dario Lencina on 6/24/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "ShinnyHollywoodGalleryDetailImageViewer.h"

@interface ShinnyHollywoodGalleryController : UIViewController <ShinnyHollywoodGalleryDetailImageViewerDelegate> {
	NSMutableArray *images;
	NSMutableArray * thumbs;
	UIImage *selectedImage;
	NSInteger cachedImageTag;
	ShinnyHollywoodGalleryDetailImageViewer * detailImageContainer;
	IBOutlet UIScrollView * scrollView;
	NSString * _currentOrientation;
}

@property (nonatomic, retain) UIScrollView * scrollView;
@property (nonatomic, retain) ShinnyHollywoodGalleryDetailImageViewer * detailImageContainer;
@property (nonatomic, retain) NSMutableArray *images;
@property (nonatomic, retain) NSMutableArray *thumbs;
@property (nonatomic, retain) UIImage *selectedImage;

-(void)setButtonSelected:(UIButton *)button;
-(void)setControllerImagesWithArray:(NSArray *)array;
-(IBAction)buttonClicked:(id)sender;
-(void)addImage:(UIImage *)image;
-(void)resizeScrollToVertical;
-(void)resizeScrollToGivenOrientation:(NSString *)orientation;

@end
